﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ui="clr-namespace:Zorbo.UI">

    <PathGeometry x:Key="BezierGeometry">
        <PathGeometry.Figures>
            <PathFigure StartPoint="10,50" IsClosed="True">
                <PathFigure.Segments>
                    <BezierSegment
	                Point1="100,50"
	                Point2="200,150"
	                Point3="300,60"/>
                    <LineSegment Point="300,30" />
                    <LineSegment Point="10,30" />
                </PathFigure.Segments>
            </PathFigure>
        </PathGeometry.Figures>
    </PathGeometry>

    <ui:StopGoBrushConverter x:Key="NetworkOKConverter"/>
    <ui:AvatarToSizeConverter x:Key="AvatarToSizeConverter"/>
    <ui:AvatarToSourceConverter x:Key="AvatarToSourceConverter"/>
    
    <BooleanToVisibilityConverter x:Key="BooleanToVisibility"/>

    <DropShadowEffect x:Key="PopupShadow" BlurRadius="5" ShadowDepth="1" Opacity=".7" />

    <LinearGradientBrush x:Key="BezierBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF474747" Offset="0"/>
        <GradientStop Color="White" Offset="1"/>
    </LinearGradientBrush>
    
    <Style TargetType="{x:Type TextBox}">
        <Setter Property="Background" Value="WhiteSmoke"/>
    </Style>
    
    <Style TargetType="{x:Type ListView}">
        <Setter Property="Background" Value="{x:Null}"/>
    </Style>

    <Style TargetType="{x:Type TreeView}">
        <Setter Property="Background" Value="{x:Null}"/>
    </Style>

    <Style x:Key="HelpLinkStyle" TargetType="{x:Type TextBlock}">
        <Setter Property="Cursor" Value="Hand"/>
        <Setter Property="Foreground" Value="Blue"/>
        <Setter Property="TextDecorations" Value="Underline"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
    </Style>
    
</ResourceDictionary>